<?
	get_header();
?>
	<div id="main">
			<div class="cont">
				<div id="breadcrumbs">
					<? get_breadcrumbs(); ?>
				</div>
				<div id="bookmarks">
					<? get_bmarks(); ?>
				</div>

				<div id="content-top">
					<div id="content-bottom">
                        <div id="content-center">

                           <div id="content">

                            	<div id="faq-title" class="alpha">
                            	</div>
                                 <div id="content-text">
					                            	<div id="faq-top-text">
					                            	  <?
					                            	    	$catinfo = get_category(FAQ_CAT_ID);
					                            	    	echo $catinfo->description;
					                            	  ?>
					                            	</div>

<?php global $wp_query; $total_pages = $wp_query->max_num_pages; if ( $total_pages > 1 ) { ?>
    <div id="nav-above" class="navigation">
     <div class="nav-previous"><?php next_posts_link(__( '<span class="meta-nav">&laquo;</span> Older posts', 'Inweave' )) ?></div>
     <div class="nav-next"><?php previous_posts_link(__( 'Newer posts <span class="meta-nav">&raquo;</span>', 'Inweave' )) ?></div>
    </div>
<?php } ?>

					<?
					  					$lastposts = get_posts('numberposts=100&category='.FAQ_CAT_ID);
										foreach($lastposts as $post) :
										setup_postdata($post);

					?>
					                        <!-- FAQ BLOCK -->
					                            	<div class="faq-block-top">
					                                    	<div class="faq-quest-top">
					                            				<div class="faq-quest-bot">
					                            					<div class="faq-quest-cont">
					                            					    <div class="faq-question">
					                            							<?php the_title(); ?>
					                            						</div>
					                            					</div>
					                            				</div>
					                            			</div>
					                            	    <div class="faq-block-bottom">
					                            	        <div class="faq-block-center">
					                                            <div class="faq-answer">
					                                                 <?php the_content(); ?>
					                                            </div>
					                                        </div>
					                            	    </div>
					                            	</div>
					                        <!-- // -->
					                <?
					                 	endforeach;
					                ?>

                              </div>
                           </div>

		                </div>
                    </div>
				</div>
					<div id="sidebarcont-top">
					    <div id="sidebarcont-bottom">
							<div id="sidebar">

                            <? get_block_newsletter();?>

                            <? get_block_calendar();?>


							</div>
						</div>
                    </div>
			</div>

	</div>
<?
	get_footer();
?>